#ifndef __RED_SUPER_OBJECT_H__
#define __RED_SUPER_OBJECT_H__

#include "redobject.h"

typedef struct _RedSuperObject
{
	RedObject_HEAD

	RedObject		*sp_self;
} RedSuperObject;

RED_EXPORT extern RedTypeObject RedType_Super;

#define RedSuper_Exact(o)		((o)->ob_type == &RedType_Super)
#define RedSuper_Self(o)		(((RedSuperObject *)(o))->sp_self)

#endif /* __RED_SUPER_OBJECT_H__ */
